#include "CONSTRAINTData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::Post;

bool SG::DataStructure::Post::operator==(const CONSTRAINTData& val1,
                                         const CONSTRAINTData& val2) {
  FIELD_COMPARE(m_IDCID)
  FIELD_COMPARE(m_DCID)
  FIELD_COMPARE(m_IRID)
  FIELD_COMPARE(m_RTYPE)
  FIELD_COMPARE(m_TYPE)
  FIELD_COMPARE(m_LUFLAG)
  FIELD_COMPARE(m_BOUND)
  FIELD_COMPARE(m_REGION)
  FIELD_COMPARE(m_VALUE)
  FIELD_COMPARE(m_domainId)
  return true;
}